home *** CD-ROM | disk | FTP | other *** search
- echo Mirror.cs $1 $2 $3 $4 $5
- if test $2 == Init
- sendEvent 15 $1 KQCueEvent 1
-
- else if test $2 == EndLoop
- echo Endloop
- if test $3 == transback
- sendEvent 0 mirror1 KQAnimPlayEvent spindown
- KQCamera::follow Connor
- move KQCamera 0 41598 104330 1796 -.2 0 -1.36
- handsOff 0
- setThirdPerson
- endif
-
- else if test $2 == ConnorAction
- if test $CastleD::Mirror::Spin == active
- setThirdPerson
- handsOff 1
- KQCamera::follow none
- move KQCamera 0 43178 103481 2080 -.4 0 -.47
- set CastleD::Mirror::Spin talking
- sendEvent 0 $1 KQAnimPlayEvent transition
- getEndLoop $1 $1 1
-
- else if test $CastleD::Mirror::Spin == talking
- # Sit Down And Shut Up!
- else
- KQMonster::speak Connor Connor 1000 34 14 53 1 0
-
- endif
- endif
-
- else if test $2 == TalkComplete
- if eval KQMonster::testMessage $3 $4 $5 $6 $7 1000 33 14 52 3
- echo Die Luke Die!!!!!
- deleteObject Lucreto
- set CastleD::Mirror::Spin done
- sendEvent 0 Connor KQStatsChangeRequestEvent 0 0 0 0 25
- sendEvent 0 $1 KQAnimPlayEvent transback
- KQMonster::clearStateChangeNotify $1 Connor
- endif
-
- else if test $2 == Cue
- if test $3 == 1
- if test $CastleD::Mirror::Spin == stop
- # Spin up and rotate
- sendEvent 0 $1 KQAnimPlayEvent spinup
- getEndLoop $1 $1 1
-
- else if test $CastleD::Mirror::Spin == active
- # Spin down and stop
- sendEvent 0 $1 KQAnimPlayEvent spindown
- getEndLoop $1 $1 1
-
- endif
- endif
-
- else if test $3 == 300
- if test $5 == spinup
- sendEvent 0 $1 KQAnimPlayEvent active
- set CastleD::Mirror::Spin active
- sendEvent 15 $1 KQCueEvent 1
- getEndLoop $1 $1 0
-
- else if test $5 == spindown
- sendEvent 0 $1 KQAnimPlayEvent stop
- set CastleD::Mirror::Spin stop
- sendEvent 15 $1 KQCueEvent 1
- getEndLoop $1 $1 0
-
- else if test $5 == transition
- sendEvent 0 $1 KQAnimPlayEvent speak
- getEndLoop $1 $1 0
- loadKQ lucreto.kq
- echo Speak Lucreto
- KQMonster::speak Lucreto Connor 1000 33 14 52 1 0
- KQMonster::stateChangeNotify $1 Lucreto
-
- else if test $5 == transback
- echo got here
- sendEvent 0.2 $1 KQAnimPlayEvent spindown
-
- endif
- endif
- endif
- endif
- endif
- endif
-
- endif
- endif
- endif
- endif
- endif
-